# encoding: utf-8
# module mysql
from sqlalchemy import create_engine
from config import settings


engine = create_engine("mysql://{}:{}@{}/{}?charset=utf8mb4".format(settings.MYSQL_DB_USER, settings.MYSQL_DB_PASSWORD,
                                                                    settings.MYSQL_DB_HOST, settings.MYSQL_DB_DBNAME),
                       encoding='utf-8', echo=False, pool_size=100, pool_recycle=3600)
